import request from "@/utils/request";

export const createRoom = (data) => request({
    url: "/api/course/voice-chat-room/activate/",
    method: "post",
    data
})
export const removeRoom = (data) => request({
    url: "/api/course/voice-chat-room/delete/",
    method: "delete",
    data
})
export const getRoomInfo = (params) => request({
    url: "/api/course/voice_chat_room_status/",
    method: "get",
    params
})
